package com.tcwlkj.uuService.utils;

import com.tcwlkj.uuService.model.DriverDetailModel;
import com.tcwlkj.uuService.model.LocationModel;

import java.util.HashMap;
import java.util.List;
import java.util.Timer;

/**
 * Created by Administrator on 2017/10/22 0022.
 */

public class ChcheUtils {
    public ChcheUtils(){}
    static ChcheUtils object;
    public static ChcheUtils getInstance() {
        if (object == null) {
            object = new ChcheUtils();
        }
        return object;
    }
    DriverDetailModel driverDetailModel;

    LocationModel locationModel;


    HashMap<String ,Timer> hashMap_time=new HashMap<>();


    HashMap<String ,Long> hashMap_int=new HashMap<>();


    HashMap<String,Boolean> YZMhashMap=new HashMap<>();


    public HashMap<String, Boolean> getYZMhashMap() {
        return YZMhashMap;
    }

    public void setYZMhashMap(HashMap<String, Boolean> YZMhashMap) {
        this.YZMhashMap = YZMhashMap;
    }

    public HashMap<String, Timer> getHashMap_time() {
        return hashMap_time;
    }

    public void setHashMap_time(HashMap<String, Timer> hashMap_time) {
        this.hashMap_time = hashMap_time;
    }

    public HashMap<String, Long> getHashMap_int() {
        return hashMap_int;
    }

    public void setHashMap_int(HashMap<String, Long> hashMap_int) {
        this.hashMap_int = hashMap_int;
    }

    public LocationModel getLocationModel() {
        return locationModel;
    }

    public void setLocationModel(LocationModel locationModel) {
        this.locationModel = locationModel;
    }

    public DriverDetailModel getDriverDetailModel() {
        return driverDetailModel;
    }

    public void setDriverDetailModel(DriverDetailModel driverDetailModel) {
        this.driverDetailModel = driverDetailModel;
    }

    public void setChche(){
        driverDetailModel=null;
    }


}
